package com.eksframework.commons.core.enums;

/**
 * IEnum枚举接口类
 *
 * @author: chenfenghai
 * @version: 1.0
 * @date: 2019-12-12 9:33
 * @blame Android Team
 */
public interface IEnum<T> {

    /**
     ** 获取枚举编码
     *
     * @return T
     */
    T getCode();

    /**
     ** 获取枚举文本
     *
     * @return {@link String}
     */
    String getText();
}
